package com.zhang.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/provide")
public class ProvideController {

    Logger logger = LoggerFactory.getLogger(ProvideController.class);

    @GetMapping("/sayHello")
    public String sayHello() {
        logger.info("port : 8083");
        return "ProvideController hello everyone";
    }
}
